package com.javaweb.common;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/10/16 9:23
 */

public class BusinessConstants {

    public static final String UTF_ENCODING = "UTF-8" ;
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss" ;


    public static final Integer ARTICLE_PUBLISHED = 1 ;
    public static final Integer ARTICLE_DRAFTED = 0 ;

    public static final Integer ARTICLE_SCORE = 100 ;

    public static final String API_VERSION = "v1" ;

    public static final Integer OPER_SUCCESS = 1 ;
    public static final Integer OPER_FAILED = 0 ;

    public static final String TOKEN_KEY = "token" ;

    public static final String USER_KEY = "user" ;

    public static final String UPLOAD_DIR
            = "D:\\workspace\\idea_space\\javaweb\\javaweb-2024-2025-1\\chpt_04_springmvc\\web\\upload\\" ;


}
